package com.ukao.steward.bean;

import com.bigkoo.pickerview.model.IPickerViewData;
import com.ukao.steward.util.CheckUtils;

/**
 * Created by ukaodev on 2017/12/5.
 */

public class VipCardListBean  extends  BaseListBean<VipCardListBean>  implements IPickerViewData {



        /**
         * discount : 80
         * discountText : 1折
         * name : 黑钻会员卡
         * id : 20
         */

        private int discount;
        private String discountText;
        private String name;
        private int id;

        public int getDiscount() {
            return discount;
        }

        public void setDiscount(int discount) {
            this.discount = discount;
        }

        public String getDiscountText() {
            return discountText;
        }

        public void setDiscountText(String discountText) {
            this.discountText = discountText;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

    @Override
    public String getPickerViewText() {
        return CheckUtils.isEmptyString(name);
    }
}
